ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Compare Side-By-Side

by kaste ALL Trending Top 100

Compare anything, side-by-side, in a split view

Details

  • 1.23.0
    1.20.3
  • github.​com
  • github.​com
  • 10 months ago
  • 44 minutes ago
  • 10 years ago

Installs

  • Total 335K
  • Win 181K
  • Mac 110K
  • Linux 44K
Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3
Windows 42 60 39 16 16 49 56 46 60 52 26 19 51 49 59 53 55 15 15 43 24 0 0 0 1 26 46 51 25 16 40 19 24 32 0 0 71 51 15 16 39 60 38 38 51 11
Mac 30 42 39 10 9 26 33 39 37 42 5 11 34 37 48 35 30 9 5 23 16 0 0 0 2 17 38 42 21 13 48 12 19 33 0 0 40 27 8 18 32 49 34 37 40 14
Linux 4 6 9 3 7 8 4 12 7 11 0 3 7 11 10 10 12 1 3 6 10 0 0 0 0 3 4 8 7 0 12 6 6 13 0 0 10 9 2 4 11 9 7 8 14 3

Readme

Source
raw.​githubusercontent.​com

Compare Side-By-Side

This package adds a simple side-by-side comparison tool to Sublime Text. Here is us on Package Control and here on GitHub.

Features

  • Easily select two tabs or selections to compare
  • Comparison results open in a new window
  • Empty lines added so common code lines up
  • Count number of lines changed
  • Highlighting of changed lines
  • Intra-line diff highlighting
  • Synchronized scrolling

Installation Options

  • Search for and install using Package Control (ctrl+shift+P, “Install Package”)
  • Clone or extract this repo to a new folder in your Sublime 'Packages' folder
    (Preferences -> Browse Packages)

Usage Options

  • Right click on a tab and select “Compare with…”
  • Right click somewhere in the active view and select “Compare with…”
  • Right click on a tab and select “Compare with active tab”
  • Highlight text, right click -> “Mark selection for comparison” Mark a second selection, then right click -> “Compare selections”
  • Create two selections by holding CTRL, then “Compare selections”
  • From the command line: see README_COMMANDS.md
  • Jump to next: alt+n, jump to previous: alt+p

Configuration

  • The standard diff scopes/colors are used, these are diff.inserted.sbs-compare, diff.inserted.char.sbs-compare, diff.deleted.sbs-compare, diff.deleted.char.sbs-compare. Note that I just added the suffix “.sbs-compare” to them. You can change the colors in your color scheme (ctrl+shift+P, “UI: Customize Color Scheme”).
  • Other options can be configured in SBSCompare.sublime-settings To access: Preferences -> Package Settings -> Compare Side-By-Side

License & Contributing